﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security;

namespace SharedGenomics.Workbench.Core
{
    public interface ILoginManager
    {
        bool IsLoggedIn { get; }
        UserCredentials LoginCredentials { get; }
        bool TryLogin(string userName, SecureString password, out string errorMessage);

        event EventHandler IsLoggedInChanged;
    }
}
